<% 
#This is an inline AJAX form to create a new section, it *needs* the local variable update_id to send the 
#display the results of the query in this id
%>

<div >
    <%=form_remote_tag(:update => update_id ,
                       :url => { :action => :create_section_ajax}, 
                       :complete=>"new Effect.Highlight($('#{update_id}'))") %>

    <%=render(:partial=>'form_section')%>
    <%= submit_tag "Create" %>
       <%= end_form_tag %>
</div>